import axios from "axios";
import service from "@/config/index";

const ROLE = {
  ROLE_ENABLE: `/tenant/role/enable`,
  ROLE_DISABLE: `/tenant/role/disable`
};
export default {
  enable (params) {
    return axios.put(ROLE.ROLE_ENABLE, params);
  },
  disable (params) {
    return axios.put(ROLE.ROLE_DISABLE, params);
  }
};
